<html>
<head>
<title>
Form - Helma Javascript Reference
</title>

<meta http-equiv="Content-Script-Type" content="text/javascript">
<script src="scripts.js"></script>
<link rel="stylesheet" href="styles.css" media="screen" />
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
    <script type="text/javascript">_uacct = "UA-737027-2";urchinTracker();</script>
<style>
td {
    font-family: "Trebuchet MS", sans-serif; 
    font-size: 13px; 
    line-height:135%;
}
.columnheight {
    height: 1350px;
}
</style>
</head>
<body bgcolor="white">

<div class="frame">

<img class="home" onclick="location='http://dev.helma.org/'" src="helmaheader.gif" /><br />
<div class="lead">
    <p>Detailed reference of prototypes, properties and methods available in the <br />
    Javascript environment of your Helma web applications.</p>
</div>

<script> openbox('content') </script>


    <div class="content">
        <div class="docs">
        
            <!--
            <div class="sectionHead">Library: Form.js</div>
            -->
            <div class="section overview">
            <!--
                <div class="itemTitle">
                    Overview
                </div>
            -->
                <div>   
                    <div class="desc">This class can be used to render forms and to validate
and store user submits. Further types of form components can be added
by subclassing jala.Form.Component.Input.</div>
                    <div class="itemTags">
            <!--
                    <ul>
                        
                    
                    </ul>
            -->
                    </div>
                </div>
            </div>
            
            <!--
            <div class="sectionHead">Constructors</div>
            -->
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form</span>(<span class="signature">name, dataObj</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constructs a new Form instance</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            The name of the form
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            dataObj
                        </td>
                        <td>
                            An optional object used to retrieve values
to display in the form input fields contained in this Form instance.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.setDataObject">setDataObject</a>(dataObj)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.getDataObject">getDataObject</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.setTracker">setTracker</a>(newTracker)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.getTracker">getTracker</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.listComponents">listComponents</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.addComponent">addComponent</a>(component)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.containsFileUpload">containsFileUpload</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.getClassName">getClassName</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.setClassName">setClassName</a>(newClassName)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.getErrorMessage">getErrorMessage</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.setErrorMessage">setErrorMessage</a>(newErrorMessage)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.hasError">hasError</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.countErrors">countErrors</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.render">render</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.renderAsString">renderAsString</a>(param)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.createDomId">createDomId</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.validate">validate</a>(reqData)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.save">save</a>(tracker, destObj)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.handle">handle</a>(reqData, destObj)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.render_macro">render_macro</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.id_macro">id_macro</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.name_macro">name_macro</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.class_macro">class_macro</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.open_macro">open_macro</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.close_macro">close_macro</a>()</li>
                    </ul>
                
                
                
                
                <div class="detailHead">properties</div>
                
                    <ul class="details">
                        <li><span class="type">String</span> <a href="#jala.Form.name">name</a></li>
                    </ul>
                
                    <ul class="details">
                        <li><span class="type">Skin</span> <a href="#jala.Form.componentSkin">componentSkin</a></li>
                    </ul>
                
                    <ul class="details">
                        <li><span class="type">Object</span> <a href="#jala.Form.components">components</a></li>
                    </ul>
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">The abstract base class for all components.</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.getType">getType</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.getClassName">getClassName</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.setClassName">setClassName</a>(newClassName)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.containsFileUpload">containsFileUpload</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.createDomId">createDomId</a>(idPart)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.render">render</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.validate">validate</a>(tracker)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.save">save</a>(destObj, val)</li>
                    </ul>
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Fieldset"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component.Fieldset</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constructs a new Fieldset instance</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            The name of the fieldset
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Fieldset.listComponents">listComponents</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Fieldset.addComponent">addComponent</a>(component)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Fieldset.containsFileUpload">containsFileUpload</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Fieldset.getLegend">getLegend</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Fieldset.setLegend">setLegend</a>(newLegend)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Fieldset.render">render</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Fieldset.validate">validate</a>(tracker)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Fieldset.save">save</a>(tracker, destObj)</li>
                    </ul>
                
                
                
                
                <div class="detailHead">properties</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Fieldset.components">components</a></li>
                    </ul>
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Skin"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component.Skin</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc"></div>
                
                
                    <div class="desc">Subclass of jala.Form.Component that allows rendering a skin
within a form.</div>
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            The name of the component, used as the name of the skin
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Skin.getHandler">getHandler</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Skin.setHandler">setHandler</a>(newHandler)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Skin.render">render</a>()</li>
                    </ul>
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component.Input</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Creates a new input component instance.</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            Name of the component, used as name of the html control.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.require">require</a>(key, val, msg)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.getRequirement">getRequirement</a>(key)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.setMessage">setMessage</a>(key, msg)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.getMessage">getMessage</a>(key, defaultMsg, args)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.getLabel">getLabel</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.setLabel">setLabel</a>(newLabel)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.getHelp">getHelp</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.setHelp">setHelp</a>(newHelp)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.validate">validate</a>(tracker)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.save">save</a>(tracker, destObj)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.getValue">getValue</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.setValue">setValue</a>(destObj, value)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.render">render</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.renderError">renderError</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.renderLabel">renderLabel</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.renderHelp">renderHelp</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.render_macro">render_macro</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.controls_macro">controls_macro</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.error_macro">error_macro</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.label_macro">label_macro</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.help_macro">help_macro</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.id_macro">id_macro</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.name_macro">name_macro</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.type_macro">type_macro</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.class_macro">class_macro</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.getControlAttributes">getControlAttributes</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.checkLength">checkLength</a>(reqData)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.checkRequirements">checkRequirements</a>(reqData)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.parseValue">parseValue</a>(reqData)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Input.renderControls">renderControls</a>(attr, value, reqData)</li>
                    </ul>
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Password"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component.Password</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constructs a newly created Password component instance</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            Name of the component, used as name of the html controls.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Password.renderControls">renderControls</a>(attr, value, reqData)</li>
                    </ul>
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Hidden"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component.Hidden</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constructs a newly created Hidden component instance</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            Name of the component, used as name of the html controls.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Hidden.render">render</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Hidden.renderControls">renderControls</a>(attr, value, reqData)</li>
                    </ul>
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Textarea"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component.Textarea</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constructs a new Textarea component.</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            Name of the component, used as name of the html controls.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Textarea.getRows">getRows</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Textarea.setRows">setRows</a>(newRows)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Textarea.getCols">getCols</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Textarea.setCols">setCols</a>(newCols)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Textarea.renderControls">renderControls</a>(attr, value, reqData)</li>
                    </ul>
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Date"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component.Date</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constructs a new Date component instance</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            Name of the component, used as name of the html controls.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Date.getDateFormat">getDateFormat</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Date.setDateFormat">setDateFormat</a>(newDateFormat)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Date.renderControls">renderControls</a>(attr, value, reqData)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Date.checkRequirements">checkRequirements</a>(reqData)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Date.parseValue">parseValue</a>(reqData)</li>
                    </ul>
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Select"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component.Select</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constructs a new Select component instance</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            Name of the component, used as name of the html controls.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Select.getOptions">getOptions</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Select.setOptions">setOptions</a>(newOptions)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Select.getFirstOption">getFirstOption</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Select.setFirstOption">setFirstOption</a>(newFirstOption)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Select.renderControls">renderControls</a>(attr, value, reqData)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Select.checkRequirements">checkRequirements</a>(reqData)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Select.parseOptions">parseOptions</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Select.checkOptions">checkOptions</a>(reqData)</li>
                    </ul>
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Radio"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component.Radio</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Creates a new Radio component instance</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            Name of the component, used as name of the html controls.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Radio.renderControls">renderControls</a>(attr, value)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Radio.checkRequirements">checkRequirements</a>(reqData)</li>
                    </ul>
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Checkbox"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component.Checkbox</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Creates a new Checkbox component instance</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            Name of the component, used as name of the html controls.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Checkbox.renderControls">renderControls</a>(attr, value)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Checkbox.parseValue">parseValue</a>(reqData)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Checkbox.checkRequirements">checkRequirements</a>(reqData)</li>
                    </ul>
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component.File"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component.File</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Creates a new File component instance</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            Name of the component, used as name of the html controls.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.File.renderControls">renderControls</a>(attr, value, reqData)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.File.checkRequirements">checkRequirements</a>(reqData, tracker)</li>
                    </ul>
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Image"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component.Image</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Creates a new Image component instance</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            Name of the component, used as name of the html controls.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Image.checkRequirements">checkRequirements</a>(reqData)</li>
                    </ul>
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Button"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component.Button</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Creates a new Button component instance</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            Name of the component, used as name of the html controls.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Button.getValue">getValue</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Button.setValue">setValue</a>(newValue)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Button.render">render</a>(attr, value, reqData)</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Button.renderControls">renderControls</a>(attr, value)</li>
                    </ul>
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Submit"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Component.Submit</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Creates a new Submit component instance</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            Name of the component, used as name of the html controls.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Component.Submit.renderControls">renderControls</a>(attr, value)</li>
                    </ul>
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            
            
            <div class="section constructor">
                <div class="itemTitle">
                    <a name="jala.Form.Tracker"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>
                        <span class="symbolname">Form.Tracker</span>(<span class="signature">reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">A generic container for error-messages and values</div>
                
                
                
                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">methods</div>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Tracker.hasError">hasError</a>()</li>
                    </ul>
                
                    <ul class="details">
                        <li><a href="#jala.Form.Tracker.countErrors">countErrors</a>()</li>
                    </ul>
                
                
                
                
                <div class="detailHead">properties</div>
                
                    <ul class="details">
                        <li><span class="type">Object</span> <a href="#jala.Form.Tracker.reqData">reqData</a></li>
                    </ul>
                
                    <ul class="details">
                        <li><span class="type">Object</span> <a href="#jala.Form.Tracker.values">values</a></li>
                    </ul>
                
                    <ul class="details">
                        <li><span class="type">Object</span> <a href="#jala.Form.Tracker.errors">errors</a></li>
                    </ul>
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            <!--
            <div class="sectionHead">Namespaces</div>
            -->
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <!--
            <div class="sectionHead">Properties</div>
            -->
            
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.name"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">name</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Readonly reference to the name of the form</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.componentSkin"></a>
                    
                    <span class="type">Skin</span>
                    
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">componentSkin</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Contains the default component skin</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.components"></a>
                    
                    <span class="type">Object</span>
                    
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">components</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Contains a map of component objects.</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.html"></a>
                    
                    <span class="type">helma.Html</span>
                    
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.html</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">The HTML renderer used by jala.Form</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.MINLENGTH"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.MINLENGTH</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constant used by require function to define that a component
should not validate if userinput is shorter than a given length.
Value: "minlength"</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.MAXLENGTH"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.MAXLENGTH</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constant used by require function to define that a component
should not validate if userinput exceeds a maximum length.
Value: "maxlength"</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.REQUIRE"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.REQUIRE</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constant used by require function to define that a component
should validate only if the user did provide input.
Value: "require"</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.CHECKOPTIONS"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.CHECKOPTIONS</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constant used by require function to define that a select or
radio component should validate only if the user input is contained
in the list of options provided.
Value: "checkoptions"</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.CONTENTTYPE"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.CONTENTTYPE</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constant used by require function to define that a file upload
component should validate only if the file's content type is
in the list of allowed content types provided.
Value: "contenttype"</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.MAXWIDTH"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.MAXWIDTH</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constant used by require function to define that an image upload
component should validate only if the image's width is less than
the value provided.
Value: "maxwidth"</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.MINWIDTH"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.MINWIDTH</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constant used by require function to define that an image upload
component should validate only if the image's width is more than
the value provided.
Value: "minwidth"</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.MAXHEIGHT"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.MAXHEIGHT</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constant used by require function to define that an image upload
component should validate only if the image's height is less than
the value provided.
Value: "maxheight"</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.MINHEIGHT"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.MINHEIGHT</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Constant used by require function to define that an image upload
component should validate only if the image's height is more than
the value provided.
Value: "min-height"</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Fieldset.components"></a>
                    
                    
                    
                        <i><a href="#jala.Form.Component.Fieldset" class="type">jala.Form.Component.Fieldset</a>.
                        <span class="symbolname">components</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Contains a map of all component objects of this fieldset</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.Tracker.reqData"></a>
                    
                    <span class="type">Object</span>
                    
                    
                    
                        <i><a href="#jala.Form.Tracker" class="type">jala.Form.Tracker</a>.
                        <span class="symbolname">reqData</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">A map containing input from request data</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.Tracker.values"></a>
                    
                    <span class="type">Object</span>
                    
                    
                    
                        <i><a href="#jala.Form.Tracker" class="type">jala.Form.Tracker</a>.
                        <span class="symbolname">values</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">A map containing parsed values (only for those fields that didn't
fail during checkRequirements method).</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="jala.Form.Tracker.errors"></a>
                    
                    <span class="type">Object</span>
                    
                    
                    
                        <i><a href="#jala.Form.Tracker" class="type">jala.Form.Tracker</a>.
                        <span class="symbolname">errors</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">A map containing error messages</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            
            
            
            
            

            <!--
            <div class="sectionHead">Constructors</div>
            -->
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="sectionHead">Methods</div>
            
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.setDataObject"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">setDataObject</span>(<span class="signature">dataObj</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets the data object which is being edited by this form. This object
is used to get the default values when first printing the form and 
- if no other object is provided - receives the changed values in save.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            dataObj
                        </td>
                        <td>
                            The object which is being edited by this form.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="jala.Form.html#jala.Form.save">jala.Form.save</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.getDataObject"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">getDataObject</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the data object containing the values used
for rendering the form.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            The data object of this jala.Form instance
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.setTracker"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">setTracker</span>(<span class="signature">newTracker</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets the tracker object this form instance uses for collecting
error messages and parsed values.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            jala.Form.Tracker
                        </td>
                        <td>
                            newTracker
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.getTracker"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">getTracker</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the tracker object this form instance uses for collecting
error messages and parsed values.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            tracker object
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.listComponents"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">listComponents</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns an array containing the components
of this jala.Form instance.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            The components of this jala.Form instance.
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.addComponent"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">addComponent</span>(<span class="signature">component</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Adds a component to this jala.Form instance</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            jala.Form.Component.Input
                        </td>
                        <td>
                            component
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.containsFileUpload"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">containsFileUpload</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns true if this instance of jala.Form contains at least
one component doing a file upload.</div>
                

                
                
                
                
                
                
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="jala.Form.html#jala.Form.Component#containsFileUpload">jala.Form.Component#containsFileUpload</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.getClassName"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">getClassName</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the class name set for this form instance.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            class name
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.setClassName"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">setClassName</span>(<span class="signature">newClassName</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets an extra classname for this form instance</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            newClassName
                        </td>
                        <td>
                            new classname
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.getErrorMessage"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">getErrorMessage</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the general error message printed above the form
if any of the components didn't validate.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            error message
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.setErrorMessage"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">setErrorMessage</span>(<span class="signature">newErrorMessage</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets the general error message printed above the form if any
of the components didn't validate.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            newErrorMessage
                        </td>
                        <td>
                            error message
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.hasError"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">hasError</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns true if this instance of jala.Form holds a jala.Form.Tracker
instance and at least one error has been set on this tracker.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            true if an error has been encountered.
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.countErrors"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">countErrors</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">If this instance of jala.Form holds a jala.Form.Tracker
instance it returns the number of components that didn't
validate.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            Number of components that didn't validate.
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.extend"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.extend</span>(<span class="signature">subClass, superClass</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Utility to set up the prototype, constructor, superclass and superconstructor
properties to support an inheritance strategy that can chain constructors and methods.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Function
                        </td>
                        <td>
                            subClass
                        </td>
                        <td>
                            the object which inherits superClass' functions
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Function
                        </td>
                        <td>
                            superClass
                        </td>
                        <td>
                            the object to inherit
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.create"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.create</span>(<span class="signature">config</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Parses a plain javascript object tree and configures a
new jala.Form instance according to the properties.
Propertynames are matched with constants and setter-functions,
the property "type" is used to create new component objects.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            config
                        </td>
                        <td>
                            object tree containing config
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            A newly created jala.Form instance based on the config specified
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.isEmail"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.isEmail</span>(<span class="signature">name, value, reqData, formObj</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Static validator function to test values for being a valid email address.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            name of the property being validated.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            value in form input
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            the whole request-data-object,
           in case properties depend on each other
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            jala.Form
                        </td>
                        <td>
                            formObj
                        </td>
                        <td>
                            instance of jala.Form
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            Error message or null
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.isUrl"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.isUrl</span>(<span class="signature">name, value, reqData, formObj</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Static validator function to test values for being a valid url.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            name of the property being validated.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            value in form input
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            the whole request-data-object,
           in case properties depend on each other
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            jala.Form
                        </td>
                        <td>
                            formObj
                        </td>
                        <td>
                            instance of jala.Form
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            Error message or null
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.render"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">render</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders this form including all components to response.</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.renderAsString"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">renderAsString</span>(<span class="signature">param</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">renders the form as a string</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            param
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            rendered form
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.createDomId"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">createDomId</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Creates a DOM identifier based on the arguments passed. The
resulting Id will be prefixed with the name of the form.
All arguments will be chained using camel casing.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            The DOM Id
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.validate"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">validate</span>(<span class="signature">reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Validates user input from a submitted form by calling each
component's validate method.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            Optional submitted form data. If not specified
req.data is used.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            tracker object with error fields set.
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.save"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">save</span>(<span class="signature">tracker, destObj</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets the parsed values on an object. By default the internally 
stored tracker and data objects are used, but those may be 
overridden here.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            jala.Form.Tracker
                        </td>
                        <td>
                            tracker
                        </td>
                        <td>
                            (optional) tracker object
      holding parsed data from form input.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            destObj
                        </td>
                        <td>
                            (optional) object whose values will be changed.
      By default the dataObj passed to the constructor or to
      setDataObject is used.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.handle"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">handle</span>(<span class="signature">reqData, destObj</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Parses form input, applies check functions and stores the values
if the form does validate. Otherwise this method returns false
without saving so that the form can be reprinted with error messages.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            input from form
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            destObj
                        </td>
                        <td>
                            object whose values should be chanegd
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            False if one of the checks failed,
         true if the element was saved correctly.
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.render_macro"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">render_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders the whole form to response</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.id_macro"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">id_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the id (equal to the name) of the form</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            The id of this Form instance
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.name_macro"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">name_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the name (equal to the id) of the form</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            The name of this Form instance
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.class_macro"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">class_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the class name of the form</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            The class name of this Form instance
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.open_macro"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">open_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Writes the form opening tag to response</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.close_macro"></a>
                    
                    
                        <i><a href="#jala.Form" class="type">jala.Form</a>.
                        <span class="symbolname">close_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Writes the form closing tag to response</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.getType"></a>
                    
                    
                        <i><a href="#jala.Form.Component" class="type">jala.Form.Component</a>.
                        <span class="symbolname">getType</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the type of component. This is the lowercase'd name of the
constructor function.</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.getClassName"></a>
                    
                    
                        <i><a href="#jala.Form.Component" class="type">jala.Form.Component</a>.
                        <span class="symbolname">getClassName</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the class name set for this component.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            class name
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.setClassName"></a>
                    
                    
                        <i><a href="#jala.Form.Component" class="type">jala.Form.Component</a>.
                        <span class="symbolname">setClassName</span>(<span class="signature">newClassName</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets an extra classname for this component</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            newClassName
                        </td>
                        <td>
                            new classname
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.containsFileUpload"></a>
                    
                    
                        <i><a href="#jala.Form.Component" class="type">jala.Form.Component</a>.
                        <span class="symbolname">containsFileUpload</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Function defining wheter a component contains a file upload or not.
This value is used to render a form tag with the attribute
enctype=multipart/form-data.
Subclasses of jala.Form.Component that use a file upload element,
have to override this function and let it return true.</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.createDomId"></a>
                    
                    
                        <i><a href="#jala.Form.Component" class="type">jala.Form.Component</a>.
                        <span class="symbolname">createDomId</span>(<span class="signature">idPart</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Creates a DOM identifier based on the name of the form,
the name of the component and an additional string.
The items will be chained using camel casing.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            idPart
                        </td>
                        <td>
                            Optional string appended to component's id.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            The DOM Id
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.render"></a>
                    
                    
                        <i><a href="#jala.Form.Component" class="type">jala.Form.Component</a>.
                        <span class="symbolname">render</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Function to render a component.
Subclasses of jala.Form.Component may override this function.</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.validate"></a>
                    
                    
                        <i><a href="#jala.Form.Component" class="type">jala.Form.Component</a>.
                        <span class="symbolname">validate</span>(<span class="signature">tracker</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Function to validate a component.
Subclasses of jala.Form.Component may override this function.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            jala.Form.Tracker
                        </td>
                        <td>
                            tracker
                        </td>
                        <td>
                            object tracking errors and holding
   parsed values and request data.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.save"></a>
                    
                    
                        <i><a href="#jala.Form.Component" class="type">jala.Form.Component</a>.
                        <span class="symbolname">save</span>(<span class="signature">destObj, val</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Function to save the data of a component.
Subclasses of jala.Form.Component may override this function.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            destObj
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            val
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Fieldset.listComponents"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Fieldset" class="type">jala.Form.Component.Fieldset</a>.
                        <span class="symbolname">listComponents</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns an array containing the components
of this jala.Form.Component.Fieldset instance.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            The components of this jala.Form instance.
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Fieldset.addComponent"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Fieldset" class="type">jala.Form.Component.Fieldset</a>.
                        <span class="symbolname">addComponent</span>(<span class="signature">component</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Adds a component to this jala.Form.Component.Fieldset instance</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            jala.Form.Component.Input
                        </td>
                        <td>
                            component
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Fieldset.containsFileUpload"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Fieldset" class="type">jala.Form.Component.Fieldset</a>.
                        <span class="symbolname">containsFileUpload</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns true if this instance of jala.Form.Component.Fieldset
contains at least one component doing a file upload.</div>
                

                
                
                
                
                
                
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="jala.Form.html#jala.Form.Component#containsFileUpload">jala.Form.Component#containsFileUpload</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Fieldset.getLegend"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Fieldset" class="type">jala.Form.Component.Fieldset</a>.
                        <span class="symbolname">getLegend</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the legend of the fieldset.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            legend
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Fieldset.setLegend"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Fieldset" class="type">jala.Form.Component.Fieldset</a>.
                        <span class="symbolname">setLegend</span>(<span class="signature">newLegend</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets the legend text.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            newLegend
                        </td>
                        <td>
                            legend to use when printing the fieldset.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Fieldset.render"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Fieldset" class="type">jala.Form.Component.Fieldset</a>.
                        <span class="symbolname">render</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders all components within the fieldset.</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Fieldset.validate"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Fieldset" class="type">jala.Form.Component.Fieldset</a>.
                        <span class="symbolname">validate</span>(<span class="signature">tracker</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Validates all components within the fieldset.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            jala.Form.Tracker
                        </td>
                        <td>
                            tracker
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Fieldset.save"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Fieldset" class="type">jala.Form.Component.Fieldset</a>.
                        <span class="symbolname">save</span>(<span class="signature">tracker, destObj</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Saves all components within the fieldset.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            jala.Form.Tracker
                        </td>
                        <td>
                            tracker
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            destObj
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Skin.getHandler"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Skin" class="type">jala.Form.Component.Skin</a>.
                        <span class="symbolname">getHandler</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the handler object for the skin.</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Skin.setHandler"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Skin" class="type">jala.Form.Component.Skin</a>.
                        <span class="symbolname">setHandler</span>(<span class="signature">newHandler</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets the handler to use when rendering the skin.
By default, the form's data object is used a handler.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            newHandler
                        </td>
                        <td>
                            new skin handler object.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Skin.render"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Skin" class="type">jala.Form.Component.Skin</a>.
                        <span class="symbolname">render</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders the skin named by this component to the response.</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.require"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">require</span>(<span class="signature">key, val, msg</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets a requirement for this component.
If function is called without arguments, jala.Form.REQUIRE
is set to true.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            key
                        </td>
                        <td>
                            String defining the type of requirement,
            constants in jala.Form may be used.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            val
                        </td>
                        <td>
                            Value of the requirement.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            msg
                        </td>
                        <td>
                            Optional error message if requirement
            is not fulfilled.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.getRequirement"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">getRequirement</span>(<span class="signature">key</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the requirement value for a given key.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            key
                        </td>
                        <td>
                            String defining the type of requirement,
            constants in jala.Form may be used.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.setMessage"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">setMessage</span>(<span class="signature">key, msg</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets a custom error message</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            key
                        </td>
                        <td>
                            String defining the type of requirement,
            constants in jala.Form may be used.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            msg
                        </td>
                        <td>
                            Error message
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.getMessage"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">getMessage</span>(<span class="signature">key, defaultMsg, args</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns a specific message for a config element.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            key
                        </td>
                        <td>
                            The key of the message as defined by
         the constants in jala.Form.* (e.g. "require",
         "maxlength", "minlength" ...
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            defaultMsg
                        </td>
                        <td>
                            the message to use when no message
         was defined.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            args
                        </td>
                        <td>
                            One or more arguments passed to the gettext
message processor which will replace {0}, {1} etc.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            rendered message
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.getLabel"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">getLabel</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the label set for this component.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            label
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.setLabel"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">setLabel</span>(<span class="signature">newLabel</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets the label for this component</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            newLabel
                        </td>
                        <td>
                            new label
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.getHelp"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">getHelp</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the help text set for this component.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            help text
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.setHelp"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">setHelp</span>(<span class="signature">newHelp</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets the help text for this component</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            newHelp
                        </td>
                        <td>
                            new help text
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.validate"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">validate</span>(<span class="signature">tracker</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Validates the input provided to this component. First,
checkRequirements is called. If no error occurs, the input
is parsed using parseValue and passed on to the validator
function.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            jala.Form.Tracker
                        </td>
                        <td>
                            tracker
                        </td>
                        <td>
                            Tracker object collecting
      request data, error messages and parsed values.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="jala.Form.Component.Input.html#jala.Form.Component.Input.checkRequirements">jala.Form.Component.Input.checkRequirements</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="jala.Form.Component.Input.html#jala.Form.Component.Input.parseValue">jala.Form.Component.Input.parseValue</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.save"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">save</span>(<span class="signature">tracker, destObj</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Saves the parsed value using setValue.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            jala.Form.Tracker
                        </td>
                        <td>
                            tracker
                        </td>
                        <td>
                            Tracker object collecting
      request data, error messages and parsed values.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            destObj
                        </td>
                        <td>
                            (optional) object whose values will be changed.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="jala.Form.Component.Input.html#jala.Form.Component.Input.setValue">jala.Form.Component.Input.setValue</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.getValue"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">getValue</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Retrieves the property which is edited by this component.
<ul>
<li>If no getter is given, the method returns the primitive property
   of the data object with the same name as the component.</li>
<li>If a getter function is defined, it is executed with the scope
   of the data object and the return value is used as default value.
   The name of the component is passed to the getter function
   as an argument.</li>
</ul></div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            The value of the property
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.setValue"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">setValue</span>(<span class="signature">destObj, value</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets a property of the object passed as argument to the given value.
<li>If no setter is set at the component, the primitive property
   of the data object is changed.</li>
<li>If a setter function is defined it is executed with the data object
   as scope and with the name and new value provided as arguments</li>
<li>If the setter is explicitly set to null, no changes are made at all.</li></div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            destObj
                        </td>
                        <td>
                            (optional) object whose values will be changed.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            The value to set the property to
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            True in case the update was successful, false otherwise.
                        </td> 
                    </tr>
                
                </table>
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="jala.Form#setter.html#jala.Form#setter">jala.Form#setter</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.render"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">render</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders this component including label, error and help messages directly
to response.</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.renderError"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">renderError</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">If the error tracker holds an error message for this component,
it is wrapped in a div-tag and returned as a string.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            Rendered string
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.renderLabel"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">renderLabel</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the rendered label of this component</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            The rendered label of this component
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.renderHelp"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">renderHelp</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">If this component contains a help message, it is wrapped in
a div-tag and returned as a string.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            The rendered help message
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.render_macro"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">render_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders this component including label, error and help messages
directly to response</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.controls_macro"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">controls_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders the control(s) of this component</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.error_macro"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">error_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders this component's error message (if set) directly to response</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.label_macro"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">label_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders this component's label.</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.help_macro"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">help_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders this component's help text, if set.</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.id_macro"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">id_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders this component's id</div>
                

                
                
                
                
                
                
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="jala.Form#createDomId.html#jala.Form#createDomId">jala.Form#createDomId</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.name_macro"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">name_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders this component's name</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.type_macro"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">type_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders this component's type</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.class_macro"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">class_macro</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders this component's class name.
Note that this is just the class name that has been explicitly
assigned using setClassName.</div>
                

                
                
                
                
                
                
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="jala.Form.Component.Input.html#jala.Form.Component.Input.setClassName">jala.Form.Component.Input.setClassName</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.getControlAttributes"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">getControlAttributes</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Creates a new attribute object for this element.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            Object with properties id, name, class
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.checkLength"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">checkLength</span>(<span class="signature">reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Checks user input for maximum length, minimum length and require
if the corresponding options have been set using the require method.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            request data
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            String containing error message or null if everything is ok.
                        </td> 
                    </tr>
                
                </table>
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="jala.Form.Component.Input.html#jala.Form.Component.Input.require">jala.Form.Component.Input.require</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.checkRequirements"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">checkRequirements</span>(<span class="signature">reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Checks user input against options set using the require method.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            request data
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            String containing error message or null if everything is ok.
                        </td> 
                    </tr>
                
                </table>
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="jala.Form.Component.Input.html#jala.Form.Component.Input.checkLength">jala.Form.Component.Input.checkLength</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="jala.Form.Component.Input.html#jala.Form.Component.Input.require">jala.Form.Component.Input.require</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.parseValue"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">parseValue</span>(<span class="signature">reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Parses the string input from the form and creates the datatype that
is edited with this component. For the input component this method
is not of much use, but subclasses that edit other datatypes may use
it. For example, a date editor should convert the user input from string
to a date object.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            request data
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            parsed value
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Input.renderControls"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Input" class="type">jala.Form.Component.Input</a>.
                        <span class="symbolname">renderControls</span>(<span class="signature">attr, value, reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders the html form elements to the response.
This method shall be overridden by subclasses of input component.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            attr
                        </td>
                        <td>
                            Basic attributes for the html form elements.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            Value to be used for rendering this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            Request data for the whole form. This argument is
      passed only if the form is re-rendered after an error occured.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Password.renderControls"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Password" class="type">jala.Form.Component.Password</a>.
                        <span class="symbolname">renderControls</span>(<span class="signature">attr, value, reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders a password input tag to the response.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            attr
                        </td>
                        <td>
                            Basic attributes for this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            Value to be used for rendering this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            Request data for the whole form. This argument is
      passed only if the form is re-rendered after an error occured.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Hidden.render"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Hidden" class="type">jala.Form.Component.Hidden</a>.
                        <span class="symbolname">render</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders this component directly to response. For a hidden tag, this is
just an input element, no div tag or anything.</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Hidden.renderControls"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Hidden" class="type">jala.Form.Component.Hidden</a>.
                        <span class="symbolname">renderControls</span>(<span class="signature">attr, value, reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders a hidden input tag to the response.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            attr
                        </td>
                        <td>
                            Basic attributes for this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            Value to be used for rendering this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            Request data for the whole form. This argument is
      passed only if the form is re-rendered after an error occured.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Textarea.getRows"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Textarea" class="type">jala.Form.Component.Textarea</a>.
                        <span class="symbolname">getRows</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the row numbers for this component.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            row numbers
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Textarea.setRows"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Textarea" class="type">jala.Form.Component.Textarea</a>.
                        <span class="symbolname">setRows</span>(<span class="signature">newRows</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets the row numbers for this component.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            newRows
                        </td>
                        <td>
                            new row numbers
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Textarea.getCols"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Textarea" class="type">jala.Form.Component.Textarea</a>.
                        <span class="symbolname">getCols</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the col numbers for this component.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            col numbers
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Textarea.setCols"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Textarea" class="type">jala.Form.Component.Textarea</a>.
                        <span class="symbolname">setCols</span>(<span class="signature">newCols</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets the col numbers for this component.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            newCols
                        </td>
                        <td>
                            new col numbers
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Textarea.renderControls"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Textarea" class="type">jala.Form.Component.Textarea</a>.
                        <span class="symbolname">renderControls</span>(<span class="signature">attr, value, reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders a textarea input field to the response.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            attr
                        </td>
                        <td>
                            Basic attributes for this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            Value to be used for rendering this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            Request data for the whole form. This argument is
      passed only if the form is re-rendered after an error occured.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Date.getDateFormat"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Date" class="type">jala.Form.Component.Date</a>.
                        <span class="symbolname">getDateFormat</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the date format for this component.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            date format object
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Date.setDateFormat"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Date" class="type">jala.Form.Component.Date</a>.
                        <span class="symbolname">setDateFormat</span>(<span class="signature">newDateFormat</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets the date format for this component.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            newDateFormat
                        </td>
                        <td>
                            new date format
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Date.renderControls"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Date" class="type">jala.Form.Component.Date</a>.
                        <span class="symbolname">renderControls</span>(<span class="signature">attr, value, reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders a textarea tag to the response.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            attr
                        </td>
                        <td>
                            Basic attributes for this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            Value to be used for rendering this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            Request data for the whole form. This argument is
      passed only if the form is re-rendered after an error occured.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Date.checkRequirements"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Date" class="type">jala.Form.Component.Date</a>.
                        <span class="symbolname">checkRequirements</span>(<span class="signature">reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Validates user input from a date editor.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            request data
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            null if everything is ok or string containing error message
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Date.parseValue"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Date" class="type">jala.Form.Component.Date</a>.
                        <span class="symbolname">parseValue</span>(<span class="signature">reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Parses the string input from the form and converts it to a date object.
Throws an error if the string cannot be parsed.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            request data
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            parsed date value
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Select.getOptions"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Select" class="type">jala.Form.Component.Select</a>.
                        <span class="symbolname">getOptions</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the option list for this component.</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Select.setOptions"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Select" class="type">jala.Form.Component.Select</a>.
                        <span class="symbolname">setOptions</span>(<span class="signature">newOptions</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets the option list for this component.
The argument may either be an array that will be used as option list,
or a function that is called when the option component is rendered and
has to return an option array.
For both arrays those formats are allowed:
<li>Array of arrays <code>[ [val, display], [val, display], .. ]</code></li>
<li>Array of objects <code>[ {value:val, display:display}, .. ]</code></li>
<li>Array of strings <code>[ display, display, .. ]</code> In this case,
   the index position of the string will be the value.</li></div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Array Function
                        </td>
                        <td>
                            newOptions
                        </td>
                        <td>
                            Array or function defining option list.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Select.getFirstOption"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Select" class="type">jala.Form.Component.Select</a>.
                        <span class="symbolname">getFirstOption</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the text that should be displayed if no value is selected.</div>
                

                
                
                
                
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Select.setFirstOption"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Select" class="type">jala.Form.Component.Select</a>.
                        <span class="symbolname">setFirstOption</span>(<span class="signature">newFirstOption</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets the text that is displayed if no value is selected</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            newFirstOption
                        </td>
                        <td>
                            text to display as first option element.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Select.renderControls"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Select" class="type">jala.Form.Component.Select</a>.
                        <span class="symbolname">renderControls</span>(<span class="signature">attr, value, reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders a dropdown element to the response.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            attr
                        </td>
                        <td>
                            Basic attributes for this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            Value to be used for rendering this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            Request data for the whole form. This argument is
      passed only if the form is re-rendered after an error occured.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Select.checkRequirements"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Select" class="type">jala.Form.Component.Select</a>.
                        <span class="symbolname">checkRequirements</span>(<span class="signature">reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Validates user input from a dropdown element by making sure that
the option value list contains the user input.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            request data
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            string containing error message or null if everything is ok.
                        </td> 
                    </tr>
                
                </table>
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="jala.Form.html#jala.Form.Component.Select#checkOptions">jala.Form.Component.Select#checkOptions</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Select.parseOptions"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Select" class="type">jala.Form.Component.Select</a>.
                        <span class="symbolname">parseOptions</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Creates an array of options for a dropdown element or a
group of radiobuttons. If options field of this element's
config is an array, that array is returned.
If options is a function, its return value is returned.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            array of options
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Select.checkOptions"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Select" class="type">jala.Form.Component.Select</a>.
                        <span class="symbolname">checkOptions</span>(<span class="signature">reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Checks user input for optiongroups: Unless require("checkoptions")
has ben set to false, the user input must exist in the option array.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            request data
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            null if everything is ok or string containing error message
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Radio.renderControls"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Radio" class="type">jala.Form.Component.Radio</a>.
                        <span class="symbolname">renderControls</span>(<span class="signature">attr, value</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders a set of radio buttons to the response.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            attr
                        </td>
                        <td>
                            Basic attributes for this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            Value to be used for rendering this element.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Radio.checkRequirements"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Radio" class="type">jala.Form.Component.Radio</a>.
                        <span class="symbolname">checkRequirements</span>(<span class="signature">reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Validates user input from a set of radio buttons and makes sure that
option value list contains the user input.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            request data
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            null if everything is ok or string containing error message
                        </td> 
                    </tr>
                
                </table>
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="jala.Form.html#jala.Form.Component.Select#checkOptions">jala.Form.Component.Select#checkOptions</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Checkbox.renderControls"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Checkbox" class="type">jala.Form.Component.Checkbox</a>.
                        <span class="symbolname">renderControls</span>(<span class="signature">attr, value</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders an checkbox to the response.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            attr
                        </td>
                        <td>
                            Basic attributes for this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            Value to be used for rendering this element.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Checkbox.parseValue"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Checkbox" class="type">jala.Form.Component.Checkbox</a>.
                        <span class="symbolname">parseValue</span>(<span class="signature">reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Parses the string input from the form. For a checked box, the value is 1,
for an unchecked box the value is 0.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            request data
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            parsed value
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Checkbox.checkRequirements"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Checkbox" class="type">jala.Form.Component.Checkbox</a>.
                        <span class="symbolname">checkRequirements</span>(<span class="signature">reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Validates user input from checkbox.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            request data
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            null if everything is ok or string containing error message
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.File.renderControls"></a>
                    
                    
                        <i><a href="#jala.Form.Component.File" class="type">jala.Form.Component.File</a>.
                        <span class="symbolname">renderControls</span>(<span class="signature">attr, value, reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders a file input tag to the response.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            attr
                        </td>
                        <td>
                            Basic attributes for this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            Value to be used for rendering this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            Request data for the whole form. This argument is
      passed only if the form is re-rendered after an error occured.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.File.checkRequirements"></a>
                    
                    
                        <i><a href="#jala.Form.Component.File" class="type">jala.Form.Component.File</a>.
                        <span class="symbolname">checkRequirements</span>(<span class="signature">reqData, tracker</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Validates a file upload by making sure it's there (if REQUIRE is set),
checking the file size, the content type and by trying to construct an image.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            request data
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            jala.Form.Tracker
                        </td>
                        <td>
                            tracker
                        </td>
                        <td>
                            jala.Form.Tracker object storing possible error messages
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            null if everything is ok or string containing error message
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Image.checkRequirements"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Image" class="type">jala.Form.Component.Image</a>.
                        <span class="symbolname">checkRequirements</span>(<span class="signature">reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Validates an image upload by making sure it's there (if REQUIRE is set),
checking the file size, the content type and by trying to construct an image.
If the file is an image, width and height limitations set by require are
checked.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            request data
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Button.getValue"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Button" class="type">jala.Form.Component.Button</a>.
                        <span class="symbolname">getValue</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the value set for this button.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            value
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Button.setValue"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Button" class="type">jala.Form.Component.Button</a>.
                        <span class="symbolname">setValue</span>(<span class="signature">newValue</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Sets the value for this button.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            newValue
                        </td>
                        <td>
                            new value
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Button.render"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Button" class="type">jala.Form.Component.Button</a>.
                        <span class="symbolname">render</span>(<span class="signature">attr, value, reqData</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Renders a button to the response.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            attr
                        </td>
                        <td>
                            Basic attributes for this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            Value to be used for rendering this element.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            reqData
                        </td>
                        <td>
                            Request data for the whole form. This argument is
      passed only if the form is re-rendered after an error occured.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Button.renderControls"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Button" class="type">jala.Form.Component.Button</a>.
                        <span class="symbolname">renderControls</span>(<span class="signature">attr, value</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Creates a new attribute object for this button.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            attr
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            Object with all attributes set for this button.
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Component.Submit.renderControls"></a>
                    
                    
                        <i><a href="#jala.Form.Component.Submit" class="type">jala.Form.Component.Submit</a>.
                        <span class="symbolname">renderControls</span>(<span class="signature">attr, value</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Creates a new attribute object for this button.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            attr
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            Object with all attributes set for this button.
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.propertyGetter"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.propertyGetter</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">static default getter function used to return a field 
from the data object.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            Name of the property.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.propertySetter"></a>
                    
                    
                        <i><a href="#jala" class="type">jala</a>.
                        <span class="symbolname">Form.propertySetter</span>(<span class="signature">name, value</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">static default setter function used to change a field 
of the data object.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            Name of the property.
                        </td> 
                    </tr>
                
                    <tr>
                        <td class="type">
                            Object
                        </td>
                        <td>
                            value
                        </td>
                        <td>
                            New value of the property.
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                

            </div>
            
            
            
            
            
            
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Tracker.hasError"></a>
                    
                    
                        <i><a href="#jala.Form.Tracker" class="type">jala.Form.Tracker</a>.
                        <span class="symbolname">hasError</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns true if an error has been set for at least one component.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            true if form encountered an error.
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="jala.Form.Tracker.countErrors"></a>
                    
                    
                        <i><a href="#jala.Form.Tracker" class="type">jala.Form.Tracker</a>.
                        <span class="symbolname">countErrors</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the number of components for which this instance has
tracked an error.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            Number of components that did not validate.
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
        </div>
    </div>
    <div class="finePrint">
    Fri, 05 Feb 2010 17:40:06 GMT.
    </div>

<script> closebox() </script>

<script> openbox('pageintro') </script>

    <h3>core framework</h3>
        <ul>            
            <li><a href="global.html">global</a></li>
            <li><a href="app.html">app (application)</a></li>
            <li><a href="req.html">req (request)</a></li>
            <li><a href="res.html">res (response)</a></li>
            <li><a href="session.html">session</a></li>
            <li><a href="global.html#path">path</a></li>
            <li><a href="global.html#root">root</a></li>
            <li><a href="HopObject.html">HopObject</a></li>
            <li><a href="User.html">User</a></li>
            <li><a href="File.html">File</a></li>
            <li><a href="FtpClient.html">FtpClient</a></li>
            <li><a href="Image.html">Image</a></li>
            <li><a href="Mail.html">Mail</a></li>
            <li><a href="global.html#Remote">Remote</a></li>
            <li><a href="Xml.html">Xml</a></li>
            <li><a href="DatabaseObject.html">DatabaseObject</a></li>
            <li><a href="MimePart.html">MimePart</a></li>
            <li><a href="Skin.html">Skin</a></li>
            <li><a href="global.html#Object.dontEnum">Object</a></li>
        </ul>
        
    <h3>optional modules</h3>
        <ul>            
            <li><a href="ArrayExtensions.html">Array extensions</a></li>
            <li><a href="DateExtensions.html">Date extensions</a></li>
            <li><a href="NumberExtensions.html">Number extensions</a></li>
            <li><a href="ObjectExtensions.html">Object extensions</a></li>
            <li><a href="StringExtensions.html">String extensions</a></li>
            <li><a href="HopObjectExtensions.html">HopObject extensions</a></li>
            <li><a href="GlobalMacros.html">global macros</a></li>
            <li><a href="MacroFilters.html">macro filters</a></li>
            <li><a href="JSON.html">JSON methods</a></li>
            <br />
            <li><a href="helma.Aspects.html">helma.Aspects</a></li>
            <li><a href="helma.Chart.html">helma.Chart</a></li>
            <li><a href="helma.Color.html">helma.Color</a></li>
            <li><a href="helma.Database.html">helma.Database</a></li>
            <li><a href="helma.File.html">helma.File</a></li>
            <li><a href="helma.Ftp.html">helma.Ftp</a></li>
            <li><a href="helma.Group.html">helma.Group</a></li>
            <li><a href="helma.Html.html">helma.Html</a></li>
            <li><a href="helma.Http.html">helma.Http</a></li>
            <li><a href="helma.Image.html">helma.Image</a></li>
            <li><a href="helma.Mail.html">helma.Mail</a></li>
            <li><a href="helma.Search.html">helma.Search</a></li>
            <li><a href="helma.Skin.html">helma.Skin</a></li>
            <li><a href="helma.Ssh.html">helma.Ssh</a></li>
            <li><a href="helma.Url.html">helma.Url</a></li>
            <li><a href="helma.Zip.html">helma.Zip</a></li>
            <br />
            <li><a href="jala.BitTorrent.html">jala.BitTorrent</a></li>
            <li><a href="jala.Captcha.html">jala.Captcha</a></li>
            <li><a href="jala.Date.html">jala.Date</a></li>
            <li><a href="jala.db.html">jala.db</a></li>
            <li><a href="jala.DnsClient.html">jala.DnsClient</a></li>
            <li><a href="jala.Form.html">jala.Form</a></li>
            <li><a href="jala.History.html">jala.History</a></li>
            <li><a href="jala.HopObjectExtensions.html">jala HopObject extensions</a></li>
            <li><a href="jala.HtmlDocument.html">jala.HtmlDocument</a></li>
            <li><a href="jala.I18n.html">jala.I18n</a></li>
            <li><a href="jala.ImageFilter.html">jala.ImageFilter</a></li>
            <li><a href="jala.IndexManager.html">jala.IndexManager</a></li>
            <li><a href="jala.ListRenderer.html">jala.ListRenderer</a></li>
            <li><a href="jala.Mp3.html">jala.Mp3</a></li>
            <li><a href="jala.PodcastWriter.html">jala.PodcastWriter</a></li>
            <li><a href="jala.RemoteContent.html">jala.RemoteContent</a></li>
            <li><a href="jala.Rss20Writer.html">jala.Rss20Writer</a></li>
            <li><a href="jala.Utilities.html">jala.Utilities</a></li>
            <li><a href="jala.XmlRpcRequest.html">jala.XmlRpcRequest</a></li>
            <li><a href="jala.XmlWriter.html">jala.XmlWriter</a></li>
        </ul>
    
    <h3>java libraries</h3>
        <ul>            
            <li><a href="http://www.docjar.org/">docjar search</a></li>
        </ul>

    <h3>properties files</h3>
        <ul>            
            <li><a href="http://dev.helma.org/docs/Properties+Files/apps.properties/">apps.properties</a></li>
            <li><a href="http://dev.helma.org/docs/Properties+Files/app.properties/">app.properties</a></li>
            <li><a href="http://dev.helma.org/docs/Properties+Files/server.properties/">server.properties</a></li>
            <li><a href="http://dev.helma.org/docs/Properties+Files/db.properties/">db.properties</a></li>
            <li><a href="http://dev.helma.org/docs/Properties+Files/class.properties/">class.properties</a></li>
            <li><a href="http://dev.helma.org/docs/Type.properties+Documentation/">type.properties</a></li>
         </ul>
    
<script> closebox() </script>

</div>
<br clear="all" /><br /><br />



</body>
</html>
